
from my import *
from my.autokey import *
import sys

if(len(sys.argv)>1):
	sepT=0
	if(len(sys.argv)>2): sepT=float(sys.argv[2])
        
	if(len(sys.argv)>3): wait(float(sys.argv[3]))
	else: wait(2)
    
	keyboard_send(sys.argv[1], sepT)
else:
	print(
    	"keyboard_send(argv[1], argv[2] = 0)",
    	"wait(argv[3] = 2)", sep="\n"
    )